package com.ruoyi.project.gxgw_modules.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 寄养订单管理表 cxj_order
 * 
 * @author ruoyi
 * @date 2019-01-18
 */
public class Order extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 寄养序号 */
	private Integer orderId;
	/** 寄养预约订单号 */
	private String orderNum;
	/** 预约人 */
	private Integer userId;
	/** 入住时间 */
	private Date goTime;
	/** 接回时间 */
	private Date comeTime;
	/** 送出方式 */
	private Integer goType;
	/** 接回方式 */
	private Integer comeType;
	/** 宠物信息 */
	private String petId;
	/** 进食方式 */
	private Integer eatType;
	/** 排便习惯 */
	private Integer defType;
	/** 自带物品 */
	private String ownerRes;
	/** 增值服务 */
	private String goodsId;
	/** 订单日期 */
	private Date createTime;
	/** 支付金额 */
	private Float priceTotal;
	/** 支付状态 */
	private Integer payState;
	/** 送出中转宠物屋 */
	private String gmacId;
	/** 接回中转宠物屋 */
	private Integer cmacId;

	public void setOrderId(Integer orderId) 
	{
		this.orderId = orderId;
	}

	public Integer getOrderId() 
	{
		return orderId;
	}
	public void setOrderNum(String orderNum) 
	{
		this.orderNum = orderNum;
	}

	public String getOrderNum() 
	{
		return orderNum;
	}
	public void setUserId(Integer userId) 
	{
		this.userId = userId;
	}

	public Integer getUserId() 
	{
		return userId;
	}
	public void setGoTime(Date goTime) 
	{
		this.goTime = goTime;
	}

	public Date getGoTime() 
	{
		return goTime;
	}
	public void setComeTime(Date comeTime) 
	{
		this.comeTime = comeTime;
	}

	public Date getComeTime() 
	{
		return comeTime;
	}
	public void setGoType(Integer goType) 
	{
		this.goType = goType;
	}

	public Integer getGoType() 
	{
		return goType;
	}
	public void setComeType(Integer comeType) 
	{
		this.comeType = comeType;
	}

	public Integer getComeType() 
	{
		return comeType;
	}
	public void setPetId(String petId) 
	{
		this.petId = petId;
	}

	public String getPetId() 
	{
		return petId;
	}
	public void setEatType(Integer eatType) 
	{
		this.eatType = eatType;
	}

	public Integer getEatType() 
	{
		return eatType;
	}
	public void setDefType(Integer defType) 
	{
		this.defType = defType;
	}

	public Integer getDefType() 
	{
		return defType;
	}
	public void setOwnerRes(String ownerRes) 
	{
		this.ownerRes = ownerRes;
	}

	public String getOwnerRes() 
	{
		return ownerRes;
	}
	public void setGoodsId(String goodsId) 
	{
		this.goodsId = goodsId;
	}

	public String getGoodsId() 
	{
		return goodsId;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setPriceTotal(Float priceTotal) 
	{
		this.priceTotal = priceTotal;
	}

	public Float getPriceTotal() 
	{
		return priceTotal;
	}
	public void setPayState(Integer payState) 
	{
		this.payState = payState;
	}

	public Integer getPayState() 
	{
		return payState;
	}
	public void setGmacId(String gmacId) 
	{
		this.gmacId = gmacId;
	}

	public String getGmacId() 
	{
		return gmacId;
	}
	public void setCmacId(Integer cmacId) 
	{
		this.cmacId = cmacId;
	}

	public Integer getCmacId() 
	{
		return cmacId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("orderNum", getOrderNum())
            .append("userId", getUserId())
            .append("goTime", getGoTime())
            .append("comeTime", getComeTime())
            .append("goType", getGoType())
            .append("comeType", getComeType())
            .append("petId", getPetId())
            .append("eatType", getEatType())
            .append("defType", getDefType())
            .append("ownerRes", getOwnerRes())
            .append("goodsId", getGoodsId())
            .append("createTime", getCreateTime())
            .append("priceTotal", getPriceTotal())
            .append("payState", getPayState())
            .append("gmacId", getGmacId())
            .append("cmacId", getCmacId())
            .toString();
    }
}
